package com.qf.homework.utils;

public enum StatUtil {
    ACCOUNT_EXIST(403,"用户已存在"),
    SUCCESS(200,"操作成功"),
    SERVER_BUST(500,"服务器繁忙"),
    NULL_ACCOUNT(401,"用户名或密码为空"),
    USER_ACCOUNT_ERR(401,"用户名或密码出错");
    private int code;
    private String msg;

    StatUtil(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }



    public String getMsg() {
        return msg;
    }

}
